package com.dog.basics.bean.dto.admin.mtkj;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.math.BigDecimal;

/**
 * <p>
 * 设备管理配置信息
 * </p>
 *
 * @author wph
 * @since 2020-09-29
 */
@Data
public class ConfigAddDto {

    /**
     * 轮椅押金
     */
    @NotNull(message = "轮椅押金不能为空")
    @ApiModelProperty(value = "轮椅押金", dataType = "BigDecimal", required = true)
    private BigDecimal configWheelchairDeposit;

    /**
     * 关于我们
     */
    @NotBlank(message = "关于我们不能为空")
    @ApiModelProperty(value = "关于我们", dataType = "String", required = true)
    private String configAboutUs;
    /**
     * qq号
     */
    @ApiModelProperty(value = "qq号(20)", dataType = "String", required = false)
    @Size( max = 20, message = "qq号不正确(1-20)")
    private String qq;
    /**
     * 微信号
     */
    @ApiModelProperty(value = "qq号(20)", dataType = "String", required = false)
    @Size(max = 20, message = "微信号不正确(1-20)")
    private String wx;

    /**
     * 新手教程
     */
    @NotBlank(message = "新手教程不能为空")
    @ApiModelProperty(value = "新手教程", dataType = "String", required = true)
    private String configNoviceTutorial;

    /**
     * 服务条款
     */
    @NotBlank(message = "服务条款不能为空")
    @ApiModelProperty(value = "服务条款", dataType = "String", required = true)
    private String configTermsOfService;

    /**
     * 客服电话
     */
    @NotBlank(message = "客服电话不能为空")
    @ApiModelProperty(value = "客服电话", dataType = "String", required = true)
    private String configPassengerPhone;

    /**
     * 提现规则
     */
    @NotBlank(message = "提现规则不能为空")
    @ApiModelProperty(value = "提现规则", dataType = "String", required = true)
    private String configWithdrawalRules;


}
